package com.bosssoft.hr.train.springmvc.example.dao;


import com.bosssoft.hr.train.springmvc.example.model.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description 用户数据库操作接口
 * @author ChenTong
 * @date 2020/6/5
 */
@Repository
public interface UserDao {
    int remove(Long id);
    int save(User user);
    int update(User user);
    List<User> query();
    User queryUserByName(String username);
}
